package io.renren.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import io.renren.dao.WxMessageLogDao;
import io.renren.entity.WxMessageLog;
import io.renren.service.WxMessageLogService;


@Service("wxMessageLogService")
public class WxMessageLogServiceImpl implements WxMessageLogService {
    @Resource
    private WxMessageLogDao wxMessageLogDao;

    @Override
    public WxMessageLog queryObject(Long id) {
        return wxMessageLogDao.queryObject(id);
    }

    @Override
    public List<WxMessageLog> queryList(Map<String, Object> map) {
        return wxMessageLogDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return wxMessageLogDao.queryTotal(map);
    }

    @Override
    public void save(WxMessageLog wxMessageLog) {
            wxMessageLogDao.save(wxMessageLog);
    }

    @Override
    public void update(WxMessageLog wxMessageLog) {
            wxMessageLogDao.update(wxMessageLog);
    }

    @Override
    public void delete(Long id) {
            wxMessageLogDao.delete(id);
    }

    @Override
    public void deleteBatch(Long[]ids) {
            wxMessageLogDao.deleteBatch(ids);
    }
	
}
